package com.ccc.demoboot.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ccc.demoboot.pojo.Sysuser;
import com.ccc.demoboot.dao.SysuserMapper;
import com.ccc.demoboot.service.SysuserService;

/**
 * @Author wz
 * @Date 2024/6/4 8:54
 * @PackageName:com.ccc.demoboot.service
 * @ClassName: SysuserServiceImpl
*/
@Service
public class SysuserServiceImpl extends ServiceImpl<SysuserMapper, Sysuser> implements SysuserService{

    @Override
    public List<Map<String, Object>> selectuserdep() {
        return this.baseMapper.selectuserdep();
    }

    @Override
    public boolean upUserId(Sysuser sysuser) {

        return this.baseMapper.upUserId(sysuser);
    }

    @Override
    public boolean upUserPasswordById(String sysuserpwd, Integer id) {
        return this.baseMapper.upUserPasswordById(sysuserpwd,id);
    }

    @Override
    public List<Map<String, Object>> searchSelectId(String sysusername) {
        return this.baseMapper.searchSelectId(sysusername);
    }
}

